package com.zhou.core.os.v3_oshi.entity;

/**
 * Created by zhouyongjun on 2020/7/10
 */
public class OSHIJvm extends  AbstractOSHIEntity {
    long jvmMemoryTotal;
    //jvm最大可申请
    long jvmMemoryMax;
    //空闲空间
    long jvmFreeMemory;
    long bytesRead;
    long bytesWritten;
    long virtualSize;//VSZ   VIRT
    long residentSetSize;//  RSS RES
    @Override
    public OSHITypeEnum oshiTypeEnum() {
        return OSHITypeEnum.JVM;
    }

    public long getJvmMemoryTotal() {
        return jvmMemoryTotal;
    }

    public void setJvmMemoryTotal(long jvmMemoryTotal) {
        this.jvmMemoryTotal = jvmMemoryTotal;
    }

    public long getJvmMemoryMax() {
        return jvmMemoryMax;
    }

    public void setJvmMemoryMax(long jvmMemoryMax) {
        this.jvmMemoryMax = jvmMemoryMax;
    }

    public long getJvmFreeMemory() {
        return jvmFreeMemory;
    }

    public void setJvmFreeMemory(long jvmFreeMemory) {
        this.jvmFreeMemory = jvmFreeMemory;
    }

    public long getBytesRead() {
        return bytesRead;
    }

    public void setBytesRead(long bytesRead) {
        this.bytesRead = bytesRead;
    }

    public long getBytesWritten() {
        return bytesWritten;
    }

    public void setBytesWritten(long bytesWritten) {
        this.bytesWritten = bytesWritten;
    }

    public long getVirtualSize() {
        return virtualSize;
    }

    public void setVirtualSize(long virtualSize) {
        this.virtualSize = virtualSize;
    }

    public long getResidentSetSize() {
        return residentSetSize;
    }

    public void setResidentSetSize(long residentSetSize) {
        this.residentSetSize = residentSetSize;
    }
}
